package cn.frt.service;

import java.util.List;


import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import cn.frt.pojo.Shops;
import cn.frt.pojo.Site;

public interface ShopsService {
	//添加运营商
	int insertShops(Shops shops);
	//获取Shops总数量
		int getShopsCount();
	//分页获取Shops数据
		List<Shops> shopsByPage(@Param("pageNo") int pageNo,@Param("pageSize") int pageSize);
	//登陆
		Shops shopsLogin(String shopsNumber,String shopsPwd);	
	//运营商管理
		//@Transactional
		List<Shops> selectShops();
		//根据shopId查询
		List<Shops> selectShopsById(Integer shopsId);
		//根据shopId修改
		int updateShopsById(Shops shops);
		//根据ShopsId删除
		int deleteShopsById( Integer shopsId);
		//查询场馆
		Site selectSite();
}
